package com.wutuo.aggragation.rollcall.vo;

import cn.apestar.core.json.JsonDateTimeSerializer;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.wutuo.aggragation.user.vo.TeacherVo;

import java.util.Date;
import java.util.List;

public class ListSignItem {

    @JsonProperty("user_img")
    private String img;

    @JsonProperty("user_name")
    private String name;

    private List<CallTypeVo> types;

    private Long year;

    @JsonProperty("class_name")
    private String className;

    private List<CallTagVo> tags;

    private TeacherVo teacher;

    @JsonProperty("child_id")
    private Long childId;

    @JsonProperty("is_late")
    private boolean isLate = false;

    @JsonProperty("sign_time")
    @JsonSerialize(using = JsonDateTimeSerializer.class)
    private Date signTime;

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<CallTypeVo> getTypes() {
        return types;
    }

    public void setTypes(List<CallTypeVo> types) {
        this.types = types;
    }

    public Long getYear() {
        return year;
    }

    public void setYear(Long year) {
        this.year = year;
    }

    public List<CallTagVo> getTags() {
        return tags;
    }

    public void setTags(List<CallTagVo> tags) {
        this.tags = tags;
    }

    public TeacherVo getTeacher() {
        return teacher;
    }

    public void setTeacher(TeacherVo teacher) {
        this.teacher = teacher;
    }

    public boolean isLate() {
        return isLate;
    }

    public void setLate(boolean isLate) {
        this.isLate = isLate;
    }

    public Long getChildId() {
        return childId;
    }

    public void setChildId(Long childId) {
        this.childId = childId;
    }

    public Date getSignTime() {
        return signTime;
    }

    public void setSignTime(Date signTime) {
        this.signTime = signTime;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
}
